package com.rmuti.designpattern.creation.builder.lab01;

public class Cook {
	private PizzaBuilder pizzaBuilder;

	public Cook(PizzaBuilder builder) {
		pizzaBuilder = builder;
	}
	
	public Pizza getPizza(){
		return pizzaBuilder.getPizza();
	}
	

	public void builderPizza() {
		pizzaBuilder.createNewPizzaProduct();
		pizzaBuilder.buildTopping();
		pizzaBuilder.buildDough();
		pizzaBuilder.buildSauce();
	}

}
